package com.example.shop.utils;

import com.example.shop.domain.Order;
import com.example.shop.domain.Product;
import me.chanjar.weixin.mp.builder.kefu.MpNewsBuilder;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by cx on 18-1-4.
 */
public class OrderUtil {

    public static Map OrderMap(List<Product> productList, Order order) {

        Map om  = new HashMap();
        Map pm  = new HashMap();
        pm.put("order",order);
        om.put(pm,productList);
        return om;

    }
}
